/*
 * @Descripttion: 请求loading
 * @version:
 * @Author: lhl
 * @Date: 2024-01-10 15:44:30
 * @LastEditors: lhl
 * @LastEditTime: 2024-01-10 15:44:36
 */
import { defineStore } from 'pinia'

export const useSeverLoadingStore = defineStore('reqLoading', {
  state: () => {
    return {
      loading: false
    }
  },
  actions: {
    isLoading(val: boolean) {
      this.loading = val
    }
  }
})
